package com.yaorange.teaching.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yaorange.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
/**
 * 教师信息对象 ya_teacher
 *
 * @author ruoyi
 * @date 2024-12-02
 */
@Data
@TableName("ya_teacher")
public class YaTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID(user_id) */
    @TableId(type=IdType.AUTO)
    private Long id;

    /** 教师工号 */
    @Excel(name = "教师工号")
    private String teacherNo;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String name;

    /** 性别 1-男 2-女 */
    @Excel(name = "性别 1-男 2-女")
    private Integer gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String department;

    /** 任教科目 */
    @Excel(name = "任教科目")
    private String subject;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryDate;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 状态 1-在职 2-离职 3-退休 */
    @Excel(name = "状态 1-在职 2-离职 3-退休")
    private Integer status;

    /** 住址 */
    @Excel(name = "住址")
    private String address;

}
